package fnord.illuminati.action.actions;

import fnord.illuminati.action.AttackModifierAction;
import fnord.illuminati.card.groupcards.BigMedia;
import fnord.illuminati.card.groupcards.EmptyVee;
import fnord.illuminati.order.AttackOrder;
import fnord.illuminati.order.AttackType;

public class MadisonAvenueAction implements AttackModifierAction {
	private static final long serialVersionUID = -4434175477711994349L;

	@Override
	public int doAttack(AttackOrder order) {
		if (order.getAttackType() == AttackType.CONTROL && (order.getTo() instanceof BigMedia || order.getTo() instanceof EmptyVee))
			return 5;
		else
			return 0;
	}

	@Override
	public int doDefend(AttackOrder order) {
		return 0;
	}
}
